package cards;

import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.image.BufferedImage;

public class Heal extends Basic {
	//IMPORTANT, card class doesn't rewrite paint(). it rewrite IMAGE 
	public static BufferedImage image;
	public static void ImageInit(BufferedImage toBinit){
		image = toBinit;
	}
	@Override
	public BufferedImage getImage() {
		return image;
	}
	public Heal(){
		this(0,0);
	}
	public Heal(int c, int n) {
		super("Heal", c, n, "Heal");
		// TODO Auto-generated constructor stub
	}
	@Override
	public boolean instanceOf(String superClass) {
		if(super.instanceOf(superClass)){
			return true;
		}
		if(superClass.equalsIgnoreCase("Heal")){
			return true;
		}
		return false;
	}
}
